]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
switcherPopup: Disable hover on scrolling events
authorJonas Dreßler <verdre@v0yd.nl>
Sun, 6 May 2018 20:49:52 +0000 (22:49 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 26 Feb 2020 22:46:51 +0000 (22:46 +0000)
Just like with keyboard events, disable hover on scrolling events. Mouse
movements should not mess up the selection while scrolling.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/167

js/ui/switcherPopup.js

index 2f88ce5fede803fae1ddaf21efd1f8b088f17efb..49b99dd18c70d82d85d4c08ffd2ab268eaeff6c0 100644 (file)
@@ -228,6 +228,8 @@ var SwitcherPopup = GObject.registerClass({
     }
 
     vfunc_scroll_event(scrollEvent) {
+        this._disableHover();
+
         this._scrollHandler(scrollEvent.scroll_direction);
         return Clutter.EVENT_PROPAGATE;
     }